<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">
    <head>
        <a4j:loadStyle src="/css/default.css" />
        <title>
            Muebles Los Alpes - #{titulo}
        </title>
    </head>
    <body>
        <center>
            <table width="800px" align="center">
                <tr>
                    <td align="center">
                        <rich:layout>
                            <rich:layoutPanel position="top">
                                <h:graphicImage value="/img/header.jpg" />
                            </rich:layoutPanel>
                            <center>
                                <rich:layoutPanel position="center">
                                    <a4j:form>
                                    <rich:toolBar height="26" itemSeparator="disc">
                                    <rich:toolBarGroup>
                                        <a4j:commandLink action="#{SecurityBean.action}" value="Principal"/>
                                    </rich:toolBarGroup>
                                    <rich:toolBarGroup>
                                        <a4j:commandLink action="#{SecurityBean.logout}" value="Logout"/>
                                    </rich:toolBarGroup>
                                    </rich:toolBar>
                                    </a4j:form>
                                    <ui:insert name="body" />
                                </rich:layoutPanel>
                            </center>
                            <rich:layoutPanel  position="bottom">
                                <h:graphicImage value="/img/bottom.jpg" />
                            </rich:layoutPanel>
                        </rich:layout>
                    </td>
                </tr>
            </table>
        </center>
    </body>
</html>

